package com.jfs.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jfs.entity.DeviceChannel;
import com.jfs.entity.dto.DeviceChannelListDto;
import com.jfs.entity.vo.DeviceChannelListVo;
import com.jfs.entity.vo.DeviceChannelUpdateByNameVo;
import com.jfs.result.Result;

/**
 * @Description 通道接口层
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/8/3
 */
public interface DeviceChannelService extends IService<DeviceChannel> {
    /**
     * 条件查询通道列表
     * @param deviceChannelListVo
     * @return
     */
    IPage<DeviceChannelListDto>  list(DeviceChannelListVo deviceChannelListVo);

    /**
     * 修改通道名称
     * @param deviceChannelUpdateByNameVo
     * @return
     */
    Result<Object> updateByName(DeviceChannelUpdateByNameVo deviceChannelUpdateByNameVo);
}
